<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2023/4/23
  Time: 19:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <style type="text/css">
        body {
            margin:0px;
        }
        .STYLE1 {
            font-size: 12px;
            color: #FFFFFF;
        }
        .STYLE2 {font-size: 9px}
        .STYLE3 {
            color: #033d61;
            font-size: 12px;
        }
    </style>
    <script type="text/javascript" src="Scripts/jquery-3.1.1.js"></script>
    <script>
        $(function () {
            let now = new Date();
            let year = now.getFullYear();
            let month = now.getMonth();
            let week = (now.getDay());
            if(week == 0){
                week = "天";
            }else if (week ==1){
                week ="一";
            }else if (week ==2){
                week = "二";
            }else if (week==3){
                week="三";
            }else if(week==4){
                week="四";
            }else if(week==5){
                week="五";
            }else if (week==6){
                week="六";
            }
            let day = now.getDate();
            $("#timetime").text("今天是："+year+"年"+(month+1)+"月"+day+"日"+" "+"星期"+week);
            // 今天是：20087年5月12日 星期一
        })
    </script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td height="70" background="images/main_05.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td height="24"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="270" height="24" background="images/main_03.gif">&nbsp;</td>
                        <td width="505" background="images/main_04.gif">&nbsp;</td>
                        <td>&nbsp;</td>
                        <td width="21"><img src="images/main_07.gif" width="21" height="24"></td>
                    </tr>
                </table></td>
            </tr>
            <tr>
                <td height="38"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="270" height="38" background="images/main_09.gif">&nbsp;</td>
                        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td width="77%" height="25" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">

                                </table></td>
                                <td width="220" valign="bottom"  nowrap="nowrap"><div align="right"><span class="STYLE1"><span class="STYLE2">■</span> <span id="timetime"></span></span></div></td>
                            </tr>
                        </table></td>
                        <td width="21"><img src="images/main_11.gif" width="21" height="38"></td>
                    </tr>
                </table></td>
            </tr>
            <tr>
                <td height="8" style=" line-height:8px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="270" background="images/main_29.gif" style=" line-height:8px;">&nbsp;</td>
                        <td width="505" background="images/main_30.gif" style=" line-height:8px;">&nbsp;</td>
                        <td style=" line-height:8px;">&nbsp;</td>
                        <td width="21" style=" line-height:8px;"><img src="images/main_31.gif" width="21" height="8"></td>
                    </tr>
                </table></td>
            </tr>
        </table></td>
    </tr>
    <tr>
        <td height="28" background="images/main_36.gif">
            <div style="background-image:url(images/main_32.gif);width:177px;height:28px;text-align:center;color:White;font-size:12px;line-height:35px;float:left">
                <%= session.getAttribute("username")%>
            </div>
            <div style="float:right;font-size:12px;line-height:35px;margin-right:5px;margin-top:3px;">
                <a href="outLogin"><img src="images/main_20.gif" style="border:solid 0px red"/></a>
            </div>
        </td>
    </tr>
</table>
</body>
</html>

